body {
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.content {
  background: linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.5));
  padding: 0px;
  text-align: center;
  width: 100%;
  height: 92vh;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  margin-top: 0px;
  display: flex;
  position: relative;
}

.banner {
  background-color: #003366;
  color: white;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 3vh;
}

.banner-title {
  font-weight: bold;
  font-size: 20px;
}

.banner-links a {
  color: white;
  text-decoration: none;
  margin-left: 10px;
  margin-right: 10px;
}

.box_1 {
         width: 22%;
         height: 100%;
         background-color: #557799;
         margin-right: -2px;
         margin-top: 0px;
         background-image: url('../images/zhiliang.png');
         background-size: cover;
         background-position: center;
         background-repeat: no-repeat;
         transition: transform 0.5s;
         transition: filter 0.5s;
         filter: brightness(0.5); /* 设置图片为暗颜色 */
}
.box_2 {
         width: 22%;
         height: 100%;
         background-color: #557799;
         margin-right: -2px;
         margin-top: 0px;
         background-image: url('../images/zeren.png');
         background-size: cover;
         background-position: center;
         background-repeat: no-repeat;
         transition: transform 0.5s;
         transition: filter 0.5s;
         filter: brightness(0.5); /* 设置图片为暗颜色 */
}
.box_3 {
         width: 22%;
         height: 100%;
         background-color: #557799;
         margin-right: -2px;
         margin-top: 0px;
         background-image: url('../images/liyi.png');
         background-size: cover;
         background-position: center;
         background-repeat: no-repeat;
         transition: transform 0.5s;
         transition: filter 0.5s;
         filter: brightness(0.5); /* 设置图片为暗颜色 */
}

.box_4 {
         width: 22%;
         height: 100%;
         background-color: #557799;
         margin-right: -2px;
         margin-top: 0px;
         background-image: url('../images/xiaolv.jpg');
         background-size: cover;
         background-position: center;
         background-repeat: no-repeat;
         transition: transform 0.5s;
         transition: filter 0.5s;
         filter: brightness(0.3); /* 设置图片为暗颜色 */
}
.box_5 {
  width: 22%;
  height: 100%;
  background-color: #557799;
  margin-right: -2px;
  margin-top: 0px;
  background-image: url('../images/ziyou4.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.5s;
  transition: filter 0.5s;
  filter: brightness(0.5); /* 设置图片为暗颜色 */
}

.box_1:hover,
.box_2:hover,
.box_3:hover,
.box_4:hover,
.box_5:hover{
  transform: scaleX(1.1);
  filter: brightness(1); /* 鼠标悬停时恢复为原亮度 */
}

.box_1::after,
.box_2::after,
.box_3::after,
.box_4::after,
.box_5::after {
  content: attr(data-text);
  position: absolute;
  bottom: 350px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s, font-size 0.3s; /* 添加过渡效果 */
  font-size: 0px;
  font-family: KaiTi;
}

.box_1:hover::after,
.box_2:hover::after,
.box_3:hover::after,
.box_4:hover::after,
.box_5:hover::after {
  opacity: 1;
  font-size: 30px;
  color: red;
  font-family: KaiTi;
  transition: opacity 0.3s, font-size 0.3s; /* 添加字体过渡效果 */
}

        /* 添加遮罩样式 */
        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            overflow: hidden;
            transition: width 0.3s ease-in-out, opacity 0.5s ease-in-out;
        }

        .overlay.hidden {
            width: 0%;
            opacity: 0;
        }

        .overlay2 {
            position: fixed;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            overflow: hidden;
            transition: width 0.3s ease-in-out, opacity 0.5s ease-in-out;
        }

        .overlay2.hidden {
            width: 0%;
            opacity: 0;
        }
